<?php
class AccessComponent extends Object{
	var $components = array('Acl', 'Auth');
	var $user;

	function startup(){
		$this->user = $this->Auth->user();
	}
	
	function getMy($what){
		return !empty($this->user) && isset($this->user['User'][$what]) ? $this->user['User'][$what] : false;
	}
}
?>